package com.huawei.demo.enums;

/**
 * 模板审核状态枚举类
 */
public enum TemplateAuditState {
    DRAFT(0, "未提交"),
    PENDING(1, "审核中"),
    APPROVED(2, "审核通过"),
    REJECTED(3, "审核失败");

    private final int code;

    private final String desc;

    TemplateAuditState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
